package com.yyt.neo4jdemo.repository;

import com.yyt.neo4jdemo.model.UserNode;
import org.springframework.data.neo4j.repository.Neo4jRepository;
import org.springframework.stereotype.Repository;

/**
 * @author yeyangtao created at 2020/7/17 14:15
 */
@Repository
public interface UserRepository extends Neo4jRepository<UserNode, Long> {
    UserNode findByName(String name);
}
